Skip to content

bpo-26353: IDLE adds an unneeded newline when saving a shell window#17103

Merged
terryjreedy merged 4 commits into
python:masterfrom
ZackerySpytz:bpo-26353-idle-shell-save-newline
Nov 12, 2019
Merged

bpo-26353: IDLE adds an unneeded newline when saving a shell window#17103
terryjreedy merged 4 commits into
python:masterfrom
ZackerySpytz:bpo-26353-idle-shell-save-newline

Conversation

@ZackerySpytz

@ZackerySpytz ZackerySpytz commented Nov 10, 2019

Copy link
Copy Markdown
Contributor

IDLE no longer adds an unneeded newline when saving a shell window.

https://bugs.python.org/issue26353

@terryjreedy terryjreedy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for finding the key idea needed. I rearranged things a bit and added tests (which was part of the reason for the rearrangement).

@terryjreedy terryjreedy added needs backport to 3.7 type-bug An unexpected behavior, bug, or error labels Nov 12, 2019
@terryjreedy terryjreedy merged commit c8b53dc into python:master Nov 12, 2019
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @ZackerySpytz for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8.
🐍🍒⛏🤖

@bedevere-bot

Copy link
Copy Markdown

GH-17118 is a backport of this pull request to the 3.8 branch.

@bedevere-bot

Copy link
Copy Markdown

GH-17119 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 12, 2019
…ythonGH-17103)

(cherry picked from commit c8b53dc)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
miss-islington added a commit that referenced this pull request Nov 12, 2019
…H-17103)

(cherry picked from commit c8b53dc)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
miss-islington added a commit that referenced this pull request Nov 12, 2019
…H-17103)

(cherry picked from commit c8b53dc)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
jacobneiltaylor pushed a commit to jacobneiltaylor/cpython that referenced this pull request Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants